#include "startpage.h"
#include "ui_startpage.h"

startpage::startpage(QWidget *parent)
    : QWidget(parent)
    , ui(new Ui::startpage)
{
    ui->setupUi(this);
    this->setFixedSize(720,660);
    QPixmap Pixmap(":/res/bg.png");
    ui->background->setGeometry(0, 0, this->geometry().width(), this->geometry().height());
    ui->background->setPixmap(Pixmap);
    ui->background->setScaledContents(true);






}

startpage::~startpage()
{
    delete ui;
}




void startpage::on_startButton_clicked()
{
    emit StartGame();
}

